package chapter4;

import java.util.Iterator;

import chapter3.Attr;

/**
 * one approach is define it as interface
 * @author wei
 * @see AttributedC
 */
interface Attributed {
    void add(Attr newAttr);
    Attr find(String attrName);
    Attr remove(String attrName);
    Iterator<Attr> attrs();
}
